//
//  XDBaseViewController.h
//  XDCommonApp
//
//  Created by XD-XY on 2/12/14.
//  Copyright (c) 2014 XD-XY. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface XDBaseViewController : UIViewController<UIActionSheetDelegate>
{
    CGFloat aHeight;
}
@property (nonatomic,strong)UIView * navigationBarView;
@property (nonatomic,strong)UIImageView * navigationBarBg;
@property (nonatomic,strong)UIButton * leftBtn;
@property (nonatomic,strong)UIView * contentView;
@property (nonatomic,strong)UILabel * titleLabel;

//隐藏navigationbar时改变contentview大小
-(void)changeFrameWhenHiddenNavigationBar;

//在navigation上创建button
-(UIButton *)createButtonOnNavigationWithRect:(CGRect )rect normalImg:(UIImage *)image1  highlightImg:(UIImage *)image2;

- (void)backPrePage;

@end